//
//  GC_SelectionCriteriaSegmentView.h
//  OnlineRetailers
//
//  Created by mini3 on 2017/6/6.
//  Copyright © 2017年 OnlineRetailers. All rights reserved.
//
//  物品筛选 - -View
//

#import <UIKit/UIKit.h>

@interface GC_SelectionCriteriaSegmentView : UIView

///点击回调
@property(nonatomic, copy) void(^onSelectedBlock)(NSInteger item, BOOL isVariety);

///初始化
-(id)initWithHeight:(CGFloat)height;

///上下变化 个数
@property (nonatomic, assign) NSInteger updateNum;

///设置item
-(void)setUnLineItems:(NSArray*)nameArray;

///修改 按钮字体标题
- (void)setButtonTitleWith:(NSString *)title andItem:(NSInteger)item;

///设置选中项
-(void)setSelectItem:(NSInteger)item;
///设置默认选中项 
-(void)setSelectDefaultItem:(NSInteger)item;
///设置上分界线显隐
-(void)setTopLineImageViewHidden:(BOOL)hidden;
///设置下分界线显隐
-(void)setBottomLineImageViewHidden:(BOOL)hidden;

@end
